package com.fengmi.goods.mapper;

import com.fengmi.goods.MallGoods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sujie
 * @since 2022-11-22
 */
public interface MallGoodsMapper extends BaseMapper<MallGoods> {

    public List<MallGoods> getHotGoodsByCat3(@Param("cat3id") Long cat3id,@Param("topn") Integer topn);

    public List<MallGoods> getAllGoods();  //查询所有商品，同步到es中

 
}

